home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer (Italian) 38 / PC Gamer IT CD 38 1-2.iso / HG2DEMO / hg2demo.exe / data / Objects / hre20005.x < prev    next >
Text File  |  1998-07-29  |  8KB  |  402 lines

  1. xof 0302txt 0032
  2. template Header {
  3.  <3D82AB43-62DA-11cf-AB39-0020AF71E433>
  4.  WORD major;
  5.  WORD minor;
  6.  DWORD flags;
  7. }
  8.  
  9. template Vector {
  10.  <3D82AB5E-62DA-11cf-AB39-0020AF71E433>
  11.  FLOAT x;
  12.  FLOAT y;
  13.  FLOAT z;
  14. }
  15.  
  16. template Coords2d {
  17.  <F6F23F44-7686-11cf-8F52-0040333594A3>
  18.  FLOAT u;
  19.  FLOAT v;
  20. }
  21.  
  22. template Matrix4x4 {
  23.  <F6F23F45-7686-11cf-8F52-0040333594A3>
  24.  array FLOAT matrix[16];
  25. }
  26.  
  27. template ColorRGBA {
  28.  <35FF44E0-6C7C-11cf-8F52-0040333594A3>
  29.  FLOAT red;
  30.  FLOAT green;
  31.  FLOAT blue;
  32.  FLOAT alpha;
  33. }
  34.  
  35. template ColorRGB {
  36.  <D3E16E81-7835-11cf-8F52-0040333594A3>
  37.  FLOAT red;
  38.  FLOAT green;
  39.  FLOAT blue;
  40. }
  41.  
  42. template TextureFilename {
  43.  <A42790E1-7810-11cf-8F52-0040333594A3>
  44.  STRING filename;
  45. }
  46.  
  47. template Material {
  48.  <3D82AB4D-62DA-11cf-AB39-0020AF71E433>
  49.  ColorRGBA faceColor;
  50.  FLOAT power;
  51.  ColorRGB specularColor;
  52.  ColorRGB emissiveColor;
  53.  [...]
  54. }
  55.  
  56. template MeshFace {
  57.  <3D82AB5F-62DA-11cf-AB39-0020AF71E433>
  58.  DWORD nFaceVertexIndices;
  59.  array DWORD faceVertexIndices[nFaceVertexIndices];
  60. }
  61.  
  62. template MeshTextureCoords {
  63.  <F6F23F40-7686-11cf-8F52-0040333594A3>
  64.  DWORD nTextureCoords;
  65.  array Coords2d textureCoords[nTextureCoords];
  66. }
  67.  
  68. template MeshMaterialList {
  69.  <F6F23F42-7686-11cf-8F52-0040333594A3>
  70.  DWORD nMaterials;
  71.  DWORD nFaceIndexes;
  72.  array DWORD faceIndexes[nFaceIndexes];
  73.  [Material]
  74. }
  75.  
  76. template MeshNormals {
  77.  <F6F23F43-7686-11cf-8F52-0040333594A3>
  78.  DWORD nNormals;
  79.  array Vector normals[nNormals];
  80.  DWORD nFaceNormals;
  81.  array MeshFace faceNormals[nFaceNormals];
  82. }
  83.  
  84. template Mesh {
  85.  <3D82AB44-62DA-11cf-AB39-0020AF71E433>
  86.  DWORD nVertices;
  87.  array Vector vertices[nVertices];
  88.  DWORD nFaces;
  89.  array MeshFace faces[nFaces];
  90.  [...]
  91. }
  92.  
  93. template FrameTransformMatrix {
  94.  <F6F23F41-7686-11cf-8F52-0040333594A3>
  95.  Matrix4x4 frameMatrix;
  96. }
  97.  
  98. template Frame {
  99.  <3D82AB46-62DA-11cf-AB39-0020AF71E433>
  100.  [...]
  101. }
  102. template FloatKeys {
  103.  <10DD46A9-775B-11cf-8F52-0040333594A3>
  104.  DWORD nValues;
  105.  array FLOAT values[nValues];
  106. }
  107.  
  108. template TimedFloatKeys {
  109.  <F406B180-7B3B-11cf-8F52-0040333594A3>
  110.  DWORD time;
  111.  FloatKeys tfkeys;
  112. }
  113.  
  114. template AnimationKey {
  115.  <10DD46A8-775B-11cf-8F52-0040333594A3>
  116.  DWORD keyType;
  117.  DWORD nKeys;
  118.  array TimedFloatKeys keys[nKeys];
  119. }
  120.  
  121. template AnimationOptions {
  122.  <E2BF56C0-840F-11cf-8F52-0040333594A3>
  123.  DWORD openclosed;
  124.  DWORD positionquality;
  125. }
  126.  
  127. template Animation {
  128.  <3D82AB4F-62DA-11cf-AB39-0020AF71E433>
  129.  [...]
  130. }
  131.  
  132. template AnimationSet {
  133.  <3D82AB50-62DA-11cf-AB39-0020AF71E433>
  134.  [Animation]
  135. }
  136.  
  137. Header {
  138.  1;
  139.  0;
  140.  1;
  141. }
  142.  
  143. Frame frm-obj1 {
  144.   FrameTransformMatrix {
  145. 1.000000,0.000000,0.000000,0.000000,
  146. 0.000000,1.000000,0.000000,0.000000,
  147. 0.000000,0.000000,1.000000,0.000000,
  148. 0.000000,0.000000,0.000000,1.000000;;
  149.  }
  150. Mesh obj1 {
  151.  32;
  152.  -0.160000;-0.140000;0.000000;,
  153.  -0.160000;-0.075000;0.000000;,
  154.  -0.140000;-0.140000;0.000000;,
  155.  -0.140000;-0.075000;0.000000;,
  156.  0.160000;-0.160000;0.000000;,
  157.  0.070000;-0.160000;0.000000;,
  158.  0.160000;-0.140000;0.000000;,
  159.  0.070000;-0.140000;0.000000;,
  160.  0.160000;-0.075000;0.000000;,
  161.  0.160000;-0.140000;0.000000;,
  162.  0.140000;-0.075000;0.000000;,
  163.  0.140000;-0.140000;0.000000;,
  164.  -0.160000;-0.140000;0.000000;,
  165.  -0.070000;-0.140000;0.000000;,
  166.  -0.160000;-0.160000;0.000000;,
  167.  -0.070000;-0.160000;0.000000;,
  168.  0.160000;0.140000;0.000000;,
  169.  0.160000;0.075000;0.000000;,
  170.  0.140000;0.140000;0.000000;,
  171.  0.140000;0.075000;0.000000;,
  172.  -0.160000;0.160000;0.000000;,
  173.  -0.070000;0.160000;0.000000;,
  174.  -0.160000;0.140000;0.000000;,
  175.  -0.070000;0.140000;0.000000;,
  176.  -0.160000;0.075000;0.000000;,
  177.  -0.160000;0.140000;0.000000;,
  178.  -0.140000;0.075000;0.000000;,
  179.  -0.140000;0.140000;0.000000;,
  180.  0.160000;0.140000;0.000000;,
  181.  0.070000;0.140000;0.000000;,
  182.  0.160000;0.160000;0.000000;,
  183.  0.070000;0.160000;0.000000;;
  184.  
  185.  8;
  186.  4;18,16,17,19;,
  187.  4;30,28,29,31;,
  188.  4;26,24,25,27;,
  189.  4;22,20,21,23;,
  190.  4;2,0,1,3;,
  191.  4;14,12,13,15;,
  192.  4;10,8,9,11;,
  193.  4;6,4,5,7;;
  194.  
  195.  MeshMaterialList {
  196.   2;
  197.   8;
  198.   0,
  199.   0,
  200.   0,
  201.   0,
  202.   1,
  203.   1,
  204.   1,
  205.   1;
  206. Material {
  207.  0.700000;0.700000;0.700000;1.000000;;
  208.  50.000000;
  209.  1.000000;1.000000;1.000000;;
  210.  0.0; 0.0; 0.0;;
  211.  TextureFilename {
  212.   "hhu1gn1c.ppm";
  213.  }
  214.  }
  215. Material {
  216.  0.700000;0.700000;0.700000;1.000000;;
  217.  50.000000;
  218.  1.000000;1.000000;1.000000;;
  219.  0.0; 0.0; 0.0;;
  220.  TextureFilename {
  221.   "hhu1gn1c.ppm";
  222.  }
  223.  }
  224. }
  225.  MeshNormals {
  226.   32;
  227.   -0.000000;-0.000000;-1.000000;,
  228.   -0.000000;-0.000000;-1.000000;,
  229.   -0.000000;-0.000000;-1.000000;,
  230.   -0.000000;-0.000000;-1.000000;,
  231.   0.000000;0.000000;-1.000000;,
  232.   0.000000;0.000000;-1.000000;,
  233.   0.000000;0.000000;-1.000000;,
  234.   0.000000;0.000000;-1.000000;,
  235.   0.000000;0.000000;-1.000000;,
  236.   0.000000;0.000000;-1.000000;,
  237.   0.000000;0.000000;-1.000000;,
  238.   0.000000;0.000000;-1.000000;,
  239.   0.000000;0.000000;-1.000000;,
  240.   0.000000;0.000000;-1.000000;,
  241.   0.000000;0.000000;-1.000000;,
  242.   0.000000;0.000000;-1.000000;,
  243.   0.000000;0.000000;-1.000000;,
  244.   0.000000;0.000000;-1.000000;,
  245.   0.000000;0.000000;-1.000000;,
  246.   0.000000;0.000000;-1.000000;,
  247.   0.000000;0.000000;-1.000000;,
  248.   0.000000;0.000000;-1.000000;,
  249.   0.000000;0.000000;-1.000000;,
  250.   0.000000;0.000000;-1.000000;,
  251.   0.000000;-0.000000;-1.000000;,
  252.   0.000000;-0.000000;-1.000000;,
  253.   0.000000;-0.000000;-1.000000;,
  254.   0.000000;-0.000000;-1.000000;,
  255.   0.000000;0.000000;-1.000000;,
  256.   0.000000;0.000000;-1.000000;,
  257.   0.000000;0.000000;-1.000000;,
  258.   0.000000;0.000000;-1.000000;;
  259.  
  260.   8;
  261.   4;18,16,17,19;,
  262.   4;30,28,29,31;,
  263.   4;26,24,25,27;,
  264.   4;22,20,21,23;,
  265.   4;2,0,1,3;,
  266.   4;14,12,13,15;,
  267.   4;10,8,9,11;,
  268.   4;6,4,5,7;;
  269.  }
  270.  MeshTextureCoords { 
  271.  32;
  272.  0.008078;0.010503;,
  273.  0.014048;0.010148;,
  274.  0.007723;0.029625;,
  275.  0.014048;0.029625;,
  276.  0.008078;0.010503;,
  277.  0.014048;0.010148;,
  278.  0.007723;0.029625;,
  279.  0.014048;0.029625;,
  280.  0.008078;0.010503;,
  281.  0.014048;0.010148;,
  282.  0.007723;0.029625;,
  283.  0.014048;0.029625;,
  284.  0.008078;0.010503;,
  285.  0.014048;0.010148;,
  286.  0.007723;0.029625;,
  287.  0.014048;0.029625;,
  288.  0.008078;0.010503;,
  289.  0.014048;0.010148;,
  290.  0.007723;0.029625;,
  291.  0.014048;0.029625;,
  292.  0.008078;0.010503;,
  293.  0.014048;0.010148;,
  294.  0.007723;0.029625;,
  295.  0.014048;0.029625;,
  296.  0.008078;0.010503;,
  297.  0.014048;0.010148;,
  298.  0.007723;0.029625;,
  299.  0.014048;0.029625;,
  300.  0.008078;0.010503;,
  301.  0.014048;0.010148;,
  302.  0.007723;0.029625;,
  303.  0.014048;0.029625;;
  304.  }
  305. }
  306. Frame frm-direct1 {
  307.   FrameTransformMatrix {
  308. 1.000000,0.000000,0.000000,0.000000,
  309. 0.000000,1.000000,0.000000,0.000000,
  310. 0.000000,0.000000,1.000000,0.000000,
  311. 0.000000,0.000000,0.000000,1.000000;;
  312.  }
  313. Mesh direct1 {
  314.  16;
  315.  0.010000;0.160000;0.000000;,
  316.  0.010000;0.107823;0.000000;,
  317.  -0.010000;0.160000;0.000000;,
  318.  -0.010000;0.107823;0.000000;,
  319.  -0.160000;0.010377;0.000000;,
  320.  -0.111001;0.010000;0.000000;,
  321.  -0.160000;-0.010377;0.000000;,
  322.  -0.111001;-0.010000;0.000000;,
  323.  -0.010000;-0.160000;0.000000;,
  324.  -0.010000;-0.107823;0.000000;,
  325.  0.010000;-0.160000;0.000000;,
  326.  0.010000;-0.107823;0.000000;,
  327.  0.160000;-0.010377;0.000000;,
  328.  0.111001;-0.010000;0.000000;,
  329.  0.160000;0.010377;0.000000;,
  330.  0.111001;0.010000;0.000000;;
  331.  
  332.  4;
  333.  4;2,0,1,3;,
  334.  4;14,12,13,15;,
  335.  4;10,8,9,11;,
  336.  4;6,4,5,7;;
  337.  
  338.  MeshMaterialList {
  339.   1;
  340.   4;
  341.   0,
  342.   0,
  343.   0,
  344.   0;
  345. Material {
  346.  0.700000;0.700000;0.700000;1.000000;;
  347.  50.000000;
  348.  1.000000;1.000000;1.000000;;
  349.  0.0; 0.0; 0.0;;
  350.  TextureFilename {
  351.   "hhu1gn1c.ppm";
  352.  }
  353.  }
  354. }
  355.  MeshNormals {
  356.   16;
  357.   0.000000;0.000000;-1.000000;,
  358.   0.000000;0.000000;-1.000000;,
  359.   0.000000;0.000000;-1.000000;,
  360.   0.000000;0.000000;-1.000000;,
  361.   0.000000;0.000000;-1.000000;,
  362.   0.000000;0.000000;-1.000000;,
  363.   0.000000;0.000000;-1.000000;,
  364.   0.000000;0.000000;-1.000000;,
  365.   0.000000;-0.000000;-1.000000;,
  366.   0.000000;-0.000000;-1.000000;,
  367.   0.000000;-0.000000;-1.000000;,
  368.   0.000000;-0.000000;-1.000000;,
  369.   0.000000;0.000000;-1.000000;,
  370.   0.000000;0.000000;-1.000000;,
  371.   0.000000;0.000000;-1.000000;,
  372.   0.000000;0.000000;-1.000000;;
  373.  
  374.   4;
  375.   4;2,0,1,3;,
  376.   4;14,12,13,15;,
  377.   4;10,8,9,11;,
  378.   4;6,4,5,7;;
  379.  }
  380.  MeshTextureCoords { 
  381.  16;
  382.  0.008078;0.010503;,
  383.  0.014048;0.010148;,
  384.  0.007723;0.029625;,
  385.  0.014048;0.029625;,
  386.  0.008078;0.010503;,
  387.  0.014048;0.010148;,
  388.  0.007723;0.029625;,
  389.  0.014048;0.029625;,
  390.  0.008078;0.010503;,
  391.  0.014048;0.010148;,
  392.  0.007723;0.029625;,
  393.  0.014048;0.029625;,
  394.  0.008078;0.010503;,
  395.  0.014048;0.010148;,
  396.  0.007723;0.029625;,
  397.  0.014048;0.029625;;
  398.  }
  399. }
  400. }
  401. }
  402.